.container {
    display: flex;
    height: 100vh;
    background-color: #fff;
  }

/* 中间内容区 */
.content {
  flex: 1;
  padding: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.video-container {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background-color: #000;
  max-width: 800px;
  border-top-left-radius: 10px;
  border-bottom-left-radius: 10px;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
}
.imagecontainer{
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background-color: #f7f7f7;
  max-width: 800px;
  border-top-left-radius: 10px;
  border-bottom-left-radius: 10px;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  
}
.myVideo {
  width: 100%;
  height: 100%;
}

.imagecontainer img {
  width: auto;
  height: 100%;
 
}

.play-button {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 60px;
  height: 60px;
  background-color: rgba(255, 255, 255, 0.8);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

/* 右侧信息栏 */
.info-sidebar {
  width: 450px;
  height: 100%;
  padding: 20px;
  background-color: white;
  border-top-right-radius: 10px;
  border-bottom-right-radius: 10px;
  position: relative;
  border: 1px solid #eee;
  /* border-left: 1px solid #eee; */
}

.user-info {
  display: flex;
  align-items: center;
  height: 50px;
  margin-bottom: 20px;
}
.user-info span{
  font-size: 16px;
  color: #333c;
}

.avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  margin-right: 10px;
}

.follow-btn {
  background-color: #ff2442;
  color: white;
  border: none;
  font-size: 16px;
  padding: 6px 20px;
  border-radius: 20px;
  cursor: pointer;
  margin-left: auto;
  font-weight: 600;
}
.scroll-box{
  height: calc( 100vh - 290px);
  overflow-y: auto;
}
.post-content {
  margin-bottom: 20px;
}
.post—cons{
  color: #333;
  padding: 10px 0;
}

.comments-section {
  border-top: 1px solid #eee;
  padding-top: 20px;
  /* overflow-y: scroll; */
  /* max-height: 480px; */
}

.comment {
  display: flex;
  margin-bottom: 15px;
}

.comment-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  margin-right: 10px;
}

.comment-content {
  flex: 1;
}


.comment-box{
  position: absolute;
  bottom: 0;
  right: 0;
  left: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid #eee;
  height: 60px;
  background-color: #fff;
}

.search-box {
  position: relative;
  width: 35%;
  height: 40px;
  display: flex;
  align-items: center;
  background-color: #f5f5f5;
  border-radius: 20px;
  margin: 15px ;
  transition: all 0.3s ease;

}

.search-box:focus-within {
  background-color: #f0f0f0;
}

.search-input {
  width: 100%;
  height: 100%;
  border: none;
  background: transparent;
  padding: 0 10px;
  font-size: 14px;
  color: #333;
  outline: none;
}

.search-input::placeholder {
  color: #999;
}

.search-box i {
  font-size: 18px;
  color: #999;
  margin-right: 5px;
  cursor: pointer;
}

.interaction-bar {

  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px ;
  font-weight: 500;
  
}

.interaction-item {
  display: flex;
  align-items: center;
  color: #333;
  font-size: 16px;
  cursor: pointer;
  padding: 5px 5px;
  border-radius: 4px;
  transition: all 0.3s ease;
}

.interaction-item:hover {
  background-color: #f5f5f5;
}

.interaction-item i {
  margin-right: 5px;
  font-size: 16px;
}

.interaction-item.active i {
  color: #ff2442;
}

.interaction-item.active i.fa-heart {
  font-weight: 900;
}

.interaction-item.active i.fa-bookmark {
  font-weight: 900;
}

.interaction-item.active i.fa-comment {
  font-weight: 900;
}

.xaio-position {
  color: #878787;
}

/* 评论相关样式 */
.comment-count {
  padding-bottom: 20px;
  color: #3339;
}

.comment-username {
  color: #3339;
}

.comment-text {
  color: #333;
}

.comment-meta {
  color: #666;
  margin: 10px 0;
}

.comment-location {
  margin-left: 10px;
}

.comment-date {
  color: #666;
}

.comment-interaction {
  display: flex;
}

.comment-interaction-item {
  display: flex;
  align-items: center;
  margin-right: 10px;
  font-size: 14px;
  color: #666;
}

.comment-interaction-item i {
  margin-right: 5px;
}

.comment-interaction-item span {
  color: #666;
}

.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 1000;
  display: flex;
  justify-content: center;
  align-items: center;
}

.comment-modal {
  background-color: white;
  width: 80%;
  max-width: 500px;
  border-radius: 10px;
  overflow: hidden;
}

.modal-header {
  padding: 15px;
  border-bottom: 1px solid #eee;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.modal-header h3 {
  margin: 0;
  font-size: 18px;
}

.close-modal {
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
  color: #666;
}

.modal-content {
  padding: 15px;
}

.comment-textarea {
  width: 100%;
  height: 120px;
  /* border: 1px solid #eee; */
  background-color: #f7f7f7;
  border-radius: 5px;
  padding: 10px;
  resize: none;
  font-size: 14px;

}

.modal-footer {
  padding: 15px;
  border-top: 1px solid #eee;
  display: flex;
  justify-content: flex-end;
  gap: 10px;
}

.cancel-btn,
.send-btn {
  padding: 8px 20px;
  border-radius: 5px;
  cursor: pointer;
  font-size: 14px;
}

.cancel-btn {
  background-color: #f5f5f5;
  border: 1px solid #eee;
  color: #666;
}

.send-btn {
  background-color: #ff2442;
  border: none;
  color: white;
}
